﻿Imports System.Data.OleDb

Public Class ItemDetailsDAO
    Public Function ItemDetails_GetQuantity(ByVal ItemID As Integer, _
                                            ByVal ImportItemID As Integer) As Integer
        Return objConnectionDAO.ExecuteSelectQuery("SELECT Quantity FROM TDT_ItemDetails WHERE ItemID = " & ItemID.ToString() & " AND ImportItemID= " & ImportItemID.ToString()).Tables(0).Rows(0).Item(0)
    End Function
End Class
